package com.bayihouse.model.entity;

import com.baomidou.mybatisplus.annotation.*;

import java.io.Serializable;
import java.util.Date;

import lombok.*;

/**
 * @TableName rentinfo
 */
@TableName(value = "rentinfo")
@Data
@AllArgsConstructor
@NoArgsConstructor
@ToString
@EqualsAndHashCode
public class Rentinfo implements Serializable {
    /**
     * 租房信息Id
     */
    @TableId
    private Long id;

    /**
     * 租房价格
     */
    private Integer price;

    /**
     * 房子的地址
     */
    private String address;

    /**
     * 房子展示图
     */
    private String displayid;

    /**
     * 详情
     */
    private String detail;

    /**
     * 房东名字
     */
    private String landlordname;

    /**
     * 房东电话
     */
    private String landlordtelephone;

    /**
     * 创建时间
     */
    private Date createtime;

    /**
     * 0-表示已租房 1-表示未租房
     */
    private Integer status;

    /**
     * 房子Id
     */
    private Long roomId;

    /**
     * 租户Ids
     */
    private String occupantIds;

    @TableLogic
    private Integer isDelete;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;


}